//
//  Constant.swift
//  AnJiBei
//
//  Created by 赵鑫 on 15/10/27.
//  Copyright © 2015年 赵鑫. All rights reserved.
//

import Foundation

class Constant {
    //
    //请求成功返回码
    internal static let REQUEST_SUCCESS_CODE:String="N01"
    //请求失败返回码
    internal static let REQUEST_FAILURE_CODE:String="E01"
    
    //登陆超时返回码
    internal static let REQUEST_TIMEOUT_CODE: String = "E00"
    
    //后台Hos
    //public static let REQUEST_HOST:String="http://192.168.100.155:8081/api/1.0/"
    internal static let REQUEST_HOST:String="http://121.40.230.47/api/2.0/"
    //public static let REQUEST_HOST:String = "http://192.168.1.134:8081/api/1.0/"
    
    //public static let REQUEST_HOST:String = "http://192.168.100.1:8081/api/1.0/"
    
    //后台PORT
    internal static let REQUEST_PORT:String="8080"
    
    
     /***********************登陆模块*************************/
    
 /// 注册用户
     internal static let REGIST_NEW_USER_URL  = REQUEST_HOST + "account/user/registNewUser"
   
 /// 登陆系统
    internal static let LOGIN_SYSYTEM_URL = REQUEST_HOST + "account/user/loginSystem"

 /// 修改密码
    internal static let CHANGE_PASSWORD_URL = REQUEST_HOST + "account/user/changePassword"
    
 /// 获取自己的信息
    internal static let GET_USER_INFO_URL = REQUEST_HOST + "account/user/getUserInfo"

 /// 修改用户信息
    internal static let MODIFY_USER_INFO_URL =  REQUEST_HOST + "account/user/modifyUserInfo"

    
    /**********************活动模块*****************************/

 /// 获取附近活动列表
    internal static let QUERY_ACT_LIST_URL =  REQUEST_HOST + "society/activity/queryActList"
    
 /// 删除活动
    internal static let DELETE_ACT_URL =  REQUEST_HOST + "society/activity/delete"
    
 /// 获取官方活动
    internal static let QUERY_OFFICIAL_ACT_LIST_URL =  REQUEST_HOST + "society/activity/queryOfficialActList"
    
 /// 获取活动详情
    internal static let QUERY_ACT_DETAIL_URL = REQUEST_HOST + "society/activity/queryActDetail"
    
 /// 获取活动评论
    internal static let QUERY_ACT_COM_URL = REQUEST_HOST + "society/activity/queryActCom"
}
